package com.dds.system.domain.search.union;

import lombok.Data;

import java.util.Date;
import java.util.HashMap;
import java.util.Map;

@Data
public class UnionProductSearch {
    private static final long serialVersionUID = 1L;

    private String shopName;

    private String prodName;

    private String isValid;

    private Date purchasePeriod;

    private Date exchangePeriod;

    private Date createdTime;

    private Map<String, Object> params;

    public Map<String, Object> getParams() {
        if (params == null)
        {
            params = new HashMap<>();
        }
        return params;
    }
}
